package com.huarui.companydeal.model;

import java.math.BigDecimal;
import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;

public class CompanyDeal extends BaseDataObject {
	public static final int DEALTYPE_RECHARGE = 1; // 充值
	public static final int DEALTYPE_DONEE = 2;// 受赠
	public static final int DEALTYPE_BUYPACKAGE = 3;// 购买套餐
	public static final int DEALTYPE_BUYAD = 4;// 购买广告
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer companyId;
	private Date gmtCreate;
	private String ip;
	private Integer creatorId;
	private String creatorName;
	private BigDecimal borrow;
	private BigDecimal loan;
	private BigDecimal beginBalance;
	private BigDecimal endBalance;
	private Integer dealType;
	private Integer dealId;
	private String dealName;
	private String description;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public BigDecimal getBorrow() {
		return borrow;
	}

	public void setBorrow(BigDecimal borrow) {
		this.borrow = borrow;
	}

	public BigDecimal getLoan() {
		return loan;
	}

	public void setLoan(BigDecimal loan) {
		this.loan = loan;
	}

	public BigDecimal getBeginBalance() {
		return beginBalance;
	}

	public void setBeginBalance(BigDecimal beginBalance) {
		this.beginBalance = beginBalance;
	}

	public Integer getDealType() {
		return dealType;
	}

	public void setDealType(Integer dealType) {
		this.dealType = dealType;
	}

	public Integer getDealId() {
		return dealId;
	}

	public void setDealId(Integer dealId) {
		this.dealId = dealId;
	}

	public String getDealName() {
		return dealName;
	}

	public void setDealName(String dealName) {
		this.dealName = dealName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BigDecimal getEndBalance() {
		return endBalance;
	}

	public void setEndBalance(BigDecimal endBalance) {
		this.endBalance = endBalance;
	}

}
